//
//  HWGameCircleModel.swift
//  PlayWithProject
//
//  Created by 王昌健 on 2021/12/30.
//

import UIKit
import HandyJSON
class HWGameCircleModel: HandyJSON {
    required init() {}
    
    /// 动态ID
    var id = ""
    /// 是否点赞
    var is_zan = false
    /// 发布内容
    var content = ""
    /// 话题
    var huati:[String] = []
    /// 图片，优先判断视频
    var img:[String] = []
    /// 视频
    var video = ""
    /// 时间
    var time = ""
    /// 查看人数
    var look = ""
    /// 评论数
    var pinglun = ""
    /// 点赞数
    var zan = ""
    /// 是否推荐
    var is_best = ""
    /// 头像
    var face = ""
    /// 昵称
    var pet_name = ""
    /// 会员图标
    var huiyuan_img = ""
    /// 头像框
    var head_frame = ""
    /// 勋章
    var medal:String = ""
    /// 颜色
    var color:[String] = []
    var videoImage:UIImage!
    var note = ""
    var note_type = 0
    var title = ""
    var uid_des = ""
    
/////////////////////////////////// 推荐游戏用
    /// 游戏图标
    var icon = ""
    /// 图片
    var image = ""
    /// 游戏名称
    var name = ""
    /// 评分
    var point = ""
    /// 游戏大小 top11位置
    var size = ""
    
    var system_type = ""
    /// 推荐指数
    var tuijianzhishu = 0.0
    /// 分类
    var type = ""
    
    var isRecommend = false
}

class HWGameCircleGroupModel: HandyJSON {
    required init() {}
    /// 群ID
    var id = ""
    /// 名称
    var name = ""
    /// 游戏id
    var gid = ""
    /// 图标
    var icon = ""
    /// 加群链接
    var url = ""
    /// 加入群聊
    var title = ""
}

class HWTakeALookCommentModel: HandyJSON {
    required init() {}
    
    /// 评论ID
    var id:String!
    /// xxx回复xxx
    var huifu:String!
    /// 评论内容
    var content:String!
    /// 时间
    var time:String!
    /// 点赞数
    var zan:String!
    /// 是否点赞
    var is_zan:Bool!
    /// 头像
    var face:String!
    var head_frame = ""
    /// 昵称
    var pet_name:String!
    /// 性别 0 女 1男
    var gender:NSNumber!
    /// 年龄
    var age:String!
    /// 音视频uid
    var live_uid:String!
    /// 一共有多少条评论
    var data_num:NSInteger!
    /// 二级评论
    var data:[HWTakeALookCommentModel]!
    /// 颜色
    var color:[String] = []
    
    var isOpen:Bool = false
}

class HWGameCircleConfigModel:HandyJSON {
    required init() {}
    var index_top:[HWGameCircleIndexTopModel]!
}
class HWGameCircleIndexTopModel: HandyJSON {
    required init() {}
    var name = ""
    var type = -1
    var status = false
}

class HWDynamicGameModel: HandyJSON {
    required init() {}
    var id = ""
    var name = ""
    var number = ""//关注数
    var views = ""
    var type = "" //1.话题 2.游戏
}
